import Index from "../pages/Index.vue";
import Team from "../pages/Team.vue";
import User from "../pages/User.vue";
import Search from "../pages/Search.vue";
import UserEdit from "../pages/UserEdit.vue";


//定义一些路由
const routes = [
    { path: '/', component: Index,name:'主页'},
    { path: '/team', component: Team,name:'队伍'},
    { path: '/user', component: User,name:'个人信息'},
    { path: '/search', component: Search,name:'搜索'},
    { path: '/user/edit', component: UserEdit,name:'个人信息编辑'},
]


export default routes;
